var app = getApp();

Page({
    data: {
        superiorList:[{
            'superiorimg':'/hyb_jianzhi/images/workimg.jpg',
            'superiorname':'金刚狼',
            'superiorid':1
        },{
            'superiorimg':'/hyb_jianzhi/images/workimg.jpg',
            'superiorname':'钢铁侠',
            'superiorid':2
        },{
            'superiorimg':'/hyb_jianzhi/images/workimg.jpg',
            'superiorname':'绿巨人',
            'superiorid':3
        }],
        cityList:[{
            'cityname':'大观区',
            'cityid':2
        },{
            'cityname':'宜秀区',
            'cityid':23
        },{
            'cityname':'迎江区',
            'cityid':34
        },{
            'cityname':'桐城市',
            'cityid':24
        },{
            'cityname':'怀宁县',
            'cityid':25
        },{
            'cityname':'潜山市',
            'cityid':26
        }],
        currentChose:false,
        current:0
    },
    onLoad: function(n) {

    },
    getform: function(o) {
        console.log(o), app.util.request({
            url: "entry/wxapp/Formid",
            data: {
                openid: wx.getStorageSync("openid"),
                formid: o
            },
            success: function(o) {}
        });
    },
    hdlchosetype:function(n) {
        var e = this;
        var t = n.currentTarget.dataset.index;
        e.setData({
            current: t
        });
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {}
});